
class BayonUtil(object):

	@classmethod
	def vectorToTsvLine(cls, vector, label):
		line = ""
		for term , cnt in vector.iteritems():
			line += "\t"+term +'\t'+str(cnt)
		#debug
		print label + line
		return label + line


			
